package com.cn.intelligence.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.cn.intelligence.pojo.EUDataGridResult;
import com.cn.intelligence.pojo.EUTreeNode;
import com.cn.intelligence.service.ContentService;

@Controller
@RequestMapping("/content/")
public class ContentController {

	@Autowired
	public ContentService contentService;

    /**
     * 查询商品列表
     * @param page
     * @param rows
     * @return
     */
    @RequestMapping("query/list")
    @ResponseBody
    public EUDataGridResult getQueryList(Integer page,Integer rows){
        EUDataGridResult euDataGridResult =contentService.getQueryList(page,rows);
        return euDataGridResult;
    }
}
